added SSCLI 1.0
[windows-sources.git] / shared source / sscli_ref_20021101 / docs / System.Security.Permissions / System.Security.Permissions.html
blobff4e1efd6c316d372d0207ae376aa391388de708
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
2 <head>
3 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4 <link rel="stylesheet" type="text/css" href="../refdoc.css">
5 <title>Namespace: System.Security.Permissions</title>
6 </head>
7 <body>
8 <h2>Namespace: System.Security.Permissions</h2>
9 <dl>
10 <dd>
11 <p> The <a href="../System.Security.Permissions/System.Security.Permissions.html">System.Security.Permissions</a> namespace defines classes that control access to operations and resources based on policy.</p>
12 </dd>
13 </dl>
14 <h3>Members of System.Security.Permissions Namespace</h3><b>Classes</b><dl>
15 <dd>
16 <table border="1" width="90%" style="border-collapse: collapse">
17 <tr valign="top">
18 <th bgcolor="#C0C0C0">Class</th>
19 <th bgcolor="#C0C0C0">
20 Description
21 </th>
22 </tr>
23 <tr valign="top">
24 <td width="30%"><a href="types/CodeAccessSecurityAttribute.html">class CodeAccessSecurityAttribute</a></td>
25 <td width="60%"> Specifies the base attribute class for code access security. 
26 </td>
27 </tr>
28 <tr valign="top">
29 <td width="30%"><a href="types/EnvironmentPermission.html">class EnvironmentPermission</a></td>
30 <td width="60%"> Controls access to system and user environment variables. This class cannot be inherited. 
31 </td>
32 </tr>
33 <tr valign="top">
34 <td width="30%"><a href="types/EnvironmentPermissionAttribute.html">class EnvironmentPermissionAttribute</a></td>
35 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/EnvironmentPermission.html">EnvironmentPermission</a> to be applied to code using declarative security. This class cannot be inherited. 
36 </td>
37 </tr>
38 <tr valign="top">
39 <td width="30%"><a href="types/FileDialogPermission.html">class FileDialogPermission</a></td>
40 <td width="60%"> Controls the ability to access files or folders through a file dialog. This class cannot be inherited. 
41 </td>
42 </tr>
43 <tr valign="top">
44 <td width="30%"><a href="types/FileDialogPermissionAttribute.html">class FileDialogPermissionAttribute</a></td>
45 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/FileDialogPermission.html">FileDialogPermission</a> to be applied to code using declarative security. This class cannot be inherited. 
46 </td>
47 </tr>
48 <tr valign="top">
49 <td width="30%"><a href="types/FileIOPermission.html">class FileIOPermission</a></td>
50 <td width="60%"> Controls the ability to access files and folders. This class cannot be inherited. 
51 </td>
52 </tr>
53 <tr valign="top">
54 <td width="30%"><a href="types/FileIOPermissionAttribute.html">class FileIOPermissionAttribute</a></td>
55 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/FileIOPermission.html">FileIOPermission</a> to be applied to code using declarative security. This class cannot be inherited. 
56 </td>
57 </tr>
58 <tr valign="top">
59 <td width="30%"><a href="types/IsolatedStorageFilePermission.html">class IsolatedStorageFilePermission</a></td>
60 <td width="60%"> Specifies the allowed usage of a private virtual file system. This class cannot be inherited. 
61 </td>
62 </tr>
63 <tr valign="top">
64 <td width="30%"><a href="types/IsolatedStorageFilePermissionAttribute.html">class IsolatedStorageFilePermissionAttribute</a></td>
65 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/IsolatedStorageFilePermission.html">IsolatedStorageFilePermission</a> to be applied to code using declarative security. This class cannot be inherited. 
66 </td>
67 </tr>
68 <tr valign="top">
69 <td width="30%"><a href="types/IsolatedStoragePermission.html">class IsolatedStoragePermission</a></td>
70 <td width="60%"> Represents access to generic isolated storage capabilities. 
71 </td>
72 </tr>
73 <tr valign="top">
74 <td width="30%"><a href="types/IsolatedStoragePermissionAttribute.html">class IsolatedStoragePermissionAttribute</a></td>
75 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/IsolatedStoragePermission.html">IsolatedStoragePermission</a> to be applied to code using declarative security. 
76 </td>
77 </tr>
78 <tr valign="top">
79 <td width="30%"><a href="types/PermissionSetAttribute.html">class PermissionSetAttribute</a></td>
80 <td width="60%"> Allows security actions for a <a href="../System.Security/types/PermissionSet.html">PermissionSet</a> to be applied to code using declarative security. This class cannot be inherited. 
81 </td>
82 </tr>
83 <tr valign="top">
84 <td width="30%"><a href="types/PrincipalPermission.html">class PrincipalPermission</a></td>
85 <td width="60%"> Allows checks against the active principal (see <a href="../System.Security.Principal/types/IPrincipal.html">IPrincipal</a>) using the language constructs defined for both declarative and imperative security actions. This class cannot be inherited. 
86 </td>
87 </tr>
88 <tr valign="top">
89 <td width="30%"><a href="types/PrincipalPermissionAttribute.html">class PrincipalPermissionAttribute</a></td>
90 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/PrincipalPermission.html">PrincipalPermission</a> to be applied to code using declarative security. This class cannot be inherited. 
91 </td>
92 </tr>
93 <tr valign="top">
94 <td width="30%"><a href="types/ReflectionPermission.html">class ReflectionPermission</a></td>
95 <td width="60%"> Controls access to metadata through the <a href="../System.Reflection/System.Reflection.html">System.Reflection</a> APIs. This class cannot be inherited. 
96 </td>
97 </tr>
98 <tr valign="top">
99 <td width="30%"><a href="types/ReflectionPermissionAttribute.html">class ReflectionPermissionAttribute</a></td>
100 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/ReflectionPermission.html">ReflectionPermission</a> to be applied to code using declarative security. This class cannot be inherited. 
101 </td>
102 </tr>
103 <tr valign="top">
104 <td width="30%"><a href="types/SecurityAttribute.html">class SecurityAttribute</a></td>
105 <td width="60%"> Specifies the base attribute class for declarative security from which <a href="../System.Security.Permissions/types/CodeAccessSecurityAttribute.html">CodeAccessSecurityAttribute</a> is derived. 
106 </td>
107 </tr>
108 <tr valign="top">
109 <td width="30%"><a href="types/SecurityPermission.html">class SecurityPermission</a></td>
110 <td width="60%"> Describes a set of security permissions applied to code. This class cannot be inherited. 
111 </td>
112 </tr>
113 <tr valign="top">
114 <td width="30%"><a href="types/SecurityPermissionAttribute.html">class SecurityPermissionAttribute</a></td>
115 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/SecurityPermission.html">SecurityPermission</a> to be applied to code using declarative security. This class cannot be inherited. 
116 </td>
117 </tr>
118 <tr valign="top">
119 <td width="30%"><a href="types/SiteIdentityPermission.html">class SiteIdentityPermission</a></td>
120 <td width="60%"> Defines the identity permission for the Web site from which the code originates. This class cannot be inherited. 
121 </td>
122 </tr>
123 <tr valign="top">
124 <td width="30%"><a href="types/SiteIdentityPermissionAttribute.html">class SiteIdentityPermissionAttribute</a></td>
125 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/SiteIdentityPermission.html">SiteIdentityPermission</a> to be applied to code using declarative security. This class cannot be inherited. 
126 </td>
127 </tr>
128 <tr valign="top">
129 <td width="30%"><a href="types/StrongNameIdentityPermission.html">class StrongNameIdentityPermission</a></td>
130 <td width="60%"> Defines the identity permission for strong names. This class cannot be inherited. 
131 </td>
132 </tr>
133 <tr valign="top">
134 <td width="30%"><a href="types/StrongNameIdentityPermissionAttribute.html">class StrongNameIdentityPermissionAttribute</a></td>
135 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/StrongNameIdentityPermission.html">StrongNameIdentityPermission</a> to be applied to code using declarative security. This class cannot be inherited. 
136 </td>
137 </tr>
138 <tr valign="top">
139 <td width="30%"><a href="types/StrongNamePublicKeyBlob.html">class StrongNamePublicKeyBlob</a></td>
140 <td width="60%"> Represents the public key information (called a blob) for a strong name. This class cannot be inherited. 
141 </td>
142 </tr>
143 <tr valign="top">
144 <td width="30%"><a href="types/UIPermission.html">class UIPermission</a></td>
145 <td width="60%"> Controls the permissions related to user interfaces and the clipboard. This class cannot be inherited. 
146 </td>
147 </tr>
148 <tr valign="top">
149 <td width="30%"><a href="types/UIPermissionAttribute.html">class UIPermissionAttribute</a></td>
150 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/UIPermission.html">UIPermission</a> to be applied to code using declarative security. This class cannot be inherited. 
151 </td>
152 </tr>
153 <tr valign="top">
154 <td width="30%"><a href="types/UrlIdentityPermission.html">class UrlIdentityPermission</a></td>
155 <td width="60%"> Defines the identity permission for the URL from which the code originates. This class cannot be inherited. 
156 </td>
157 </tr>
158 <tr valign="top">
159 <td width="30%"><a href="types/UrlIdentityPermissionAttribute.html">class UrlIdentityPermissionAttribute</a></td>
160 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/UrlIdentityPermission.html">UrlIdentityPermission</a> to be applied to code using declarative security. This class cannot be inherited. 
161 </td>
162 </tr>
163 <tr valign="top">
164 <td width="30%"><a href="types/ZoneIdentityPermission.html">class ZoneIdentityPermission</a></td>
165 <td width="60%"> Defines the identity permission for the zone from which the code originates. This class cannot be inherited. 
166 </td>
167 </tr>
168 <tr valign="top">
169 <td width="30%"><a href="types/ZoneIdentityPermissionAttribute.html">class ZoneIdentityPermissionAttribute</a></td>
170 <td width="60%"> Allows security actions for <a href="../System.Security.Permissions/types/ZoneIdentityPermission.html">ZoneIdentityPermission</a> to be applied to code using declarative security. This class cannot be inherited. 
171 </td>
172 </tr>
173 </table>
174 </dd>
175 </dl><br><b>Interfaces</b><dl>
176 <dd>
177 <table border="1" width="90%" style="border-collapse: collapse">
178 <tr valign="top">
179 <th bgcolor="#C0C0C0">Interface</th>
180 <th bgcolor="#C0C0C0">
181 Description
182 </th>
183 </tr>
184 <tr valign="top">
185 <td width="30%"><a href="types/IUnrestrictedPermission.html">interface IUnrestrictedPermission</a></td>
186 <td width="60%"> Allows a permission to expose an unrestricted state. 
187 </td>
188 </tr>
189 </table>
190 </dd>
191 </dl><br><b>Enumerations</b><dl>
192 <dd>
193 <table border="1" width="90%" style="border-collapse: collapse">
194 <tr valign="top">
195 <th bgcolor="#C0C0C0">Enumeration</th>
196 <th bgcolor="#C0C0C0">
197 Description
198 </th>
199 </tr>
200 <tr valign="top">
201 <td width="30%"><a href="types/EnvironmentPermissionAccess.html">enumeration EnvironmentPermissionAccess</a></td>
202 <td width="60%"> Specifies access to environment variables. 
203 </td>
204 </tr>
205 <tr valign="top">
206 <td width="30%"><a href="types/FileDialogPermissionAccess.html">enumeration FileDialogPermissionAccess</a></td>
207 <td width="60%"> Specifies the type of access to files allowed through the file dialog. 
208 </td>
209 </tr>
210 <tr valign="top">
211 <td width="30%"><a href="types/FileIOPermissionAccess.html">enumeration FileIOPermissionAccess</a></td>
212 <td width="60%"> Specifies the type of file access requested. 
213 </td>
214 </tr>
215 <tr valign="top">
216 <td width="30%"><a href="types/IsolatedStorageContainment.html">enumeration IsolatedStorageContainment</a></td>
217 <td width="60%"> Specifies the permitted use of isolated storage. 
218 </td>
219 </tr>
220 <tr valign="top">
221 <td width="30%"><a href="types/PermissionState.html">enumeration PermissionState</a></td>
222 <td width="60%"> Specifies whether a permission should have all or no access to resources at creation. 
223 </td>
224 </tr>
225 <tr valign="top">
226 <td width="30%"><a href="types/ReflectionPermissionFlag.html">enumeration ReflectionPermissionFlag</a></td>
227 <td width="60%"> Specifies the permitted use of <a href="../System.Reflection/System.Reflection.html">System.Reflection</a> on members that are not visible. 
228 </td>
229 </tr>
230 <tr valign="top">
231 <td width="30%"><a href="types/SecurityAction.html">enumeration SecurityAction</a></td>
232 <td width="60%"> Specifies the security actions that can be performed using declarative security. 
233 </td>
234 </tr>
235 <tr valign="top">
236 <td width="30%"><a href="types/SecurityPermissionFlag.html">enumeration SecurityPermissionFlag</a></td>
237 <td width="60%"> Specifies access flags for the security permission object. 
238 </td>
239 </tr>
240 <tr valign="top">
241 <td width="30%"><a href="types/UIPermissionClipboard.html">enumeration UIPermissionClipboard</a></td>
242 <td width="60%"> Specifies the type of clipboard access that is allowed to the calling code. 
243 </td>
244 </tr>
245 <tr valign="top">
246 <td width="30%"><a href="types/UIPermissionWindow.html">enumeration UIPermissionWindow</a></td>
247 <td width="60%"> Specifies the type of windows that code is allowed to use. 
248 </td>
249 </tr>
250 </table>
251 </dd>
252 </dl><br><b>Namepace hierarchy</b><br><ul class="none">
253 <li><a href="../System/types/Object.html">System.Object</a></li>
254 <ul class="none">
255 <li><a href="../System/types/Attribute.html">System.Attribute</a></li>
256 <ul class="none">
257 <li><a href="../System.Security.Permissions/types/SecurityAttribute.html">System.Security.Permissions.SecurityAttribute</a></li>
258 <ul class="none">
259 <li><a href="../System.Security.Permissions/types/CodeAccessSecurityAttribute.html">System.Security.Permissions.CodeAccessSecurityAttribute</a></li>
260 <ul class="none">
261 <li><a href="../System.Security.Permissions/types/EnvironmentPermissionAttribute.html">System.Security.Permissions.EnvironmentPermissionAttribute</a></li>
262 </ul>
263 <ul class="none">
264 <li><a href="../System.Security.Permissions/types/FileDialogPermissionAttribute.html">System.Security.Permissions.FileDialogPermissionAttribute</a></li>
265 </ul>
266 <ul class="none">
267 <li><a href="../System.Security.Permissions/types/FileIOPermissionAttribute.html">System.Security.Permissions.FileIOPermissionAttribute</a></li>
268 </ul>
269 <ul class="none">
270 <li><a href="../System.Security.Permissions/types/IsolatedStoragePermissionAttribute.html">System.Security.Permissions.IsolatedStoragePermissionAttribute</a></li>
271 <ul class="none">
272 <li><a href="../System.Security.Permissions/types/IsolatedStorageFilePermissionAttribute.html">System.Security.Permissions.IsolatedStorageFilePermissionAttribute</a></li>
273 </ul>
274 </ul>
275 <ul class="none">
276 <li><a href="../System.Security.Permissions/types/PermissionSetAttribute.html">System.Security.Permissions.PermissionSetAttribute</a></li>
277 </ul>
278 <ul class="none">
279 <li><a href="../System.Security.Permissions/types/PrincipalPermissionAttribute.html">System.Security.Permissions.PrincipalPermissionAttribute</a></li>
280 </ul>
281 <ul class="none">
282 <li><a href="../System.Security.Permissions/types/ReflectionPermissionAttribute.html">System.Security.Permissions.ReflectionPermissionAttribute</a></li>
283 </ul>
284 <ul class="none">
285 <li><a href="../System.Security.Permissions/types/SecurityPermissionAttribute.html">System.Security.Permissions.SecurityPermissionAttribute</a></li>
286 </ul>
287 <ul class="none">
288 <li><a href="../System.Security.Permissions/types/SiteIdentityPermissionAttribute.html">System.Security.Permissions.SiteIdentityPermissionAttribute</a></li>
289 </ul>
290 <ul class="none">
291 <li><a href="../System.Security.Permissions/types/StrongNameIdentityPermissionAttribute.html">System.Security.Permissions.StrongNameIdentityPermissionAttribute</a></li>
292 </ul>
293 <ul class="none">
294 <li><a href="../System.Security.Permissions/types/UIPermissionAttribute.html">System.Security.Permissions.UIPermissionAttribute</a></li>
295 </ul>
296 <ul class="none">
297 <li><a href="../System.Security.Permissions/types/UrlIdentityPermissionAttribute.html">System.Security.Permissions.UrlIdentityPermissionAttribute</a></li>
298 </ul>
299 <ul class="none">
300 <li><a href="../System.Security.Permissions/types/ZoneIdentityPermissionAttribute.html">System.Security.Permissions.ZoneIdentityPermissionAttribute</a></li>
301 </ul>
302 </ul>
303 </ul>
304 </ul>
305 <ul class="none">
306 <li><a href="../System.Security/types/CodeAccessPermission.html">System.Security.CodeAccessPermission</a></li>
307 <ul class="none">
308 <li><a href="../System.Security.Permissions/types/EnvironmentPermission.html">System.Security.Permissions.EnvironmentPermission</a> --- <a href="../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission</a></li>
309 </ul>
310 <ul class="none">
311 <li><a href="../System.Security.Permissions/types/FileDialogPermission.html">System.Security.Permissions.FileDialogPermission</a> --- <a href="../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission</a></li>
312 </ul>
313 <ul class="none">
314 <li><a href="../System.Security.Permissions/types/FileIOPermission.html">System.Security.Permissions.FileIOPermission</a> --- <a href="../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission</a></li>
315 </ul>
316 <ul class="none">
317 <li><a href="../System.Security.Permissions/types/IsolatedStoragePermission.html">System.Security.Permissions.IsolatedStoragePermission</a></li>
318 <ul class="none">
319 <li><a href="../System.Security.Permissions/types/IsolatedStorageFilePermission.html">System.Security.Permissions.IsolatedStorageFilePermission</a></li>
320 </ul>
321 </ul>
322 <ul class="none">
323 <li><a href="../System.Security.Permissions/types/ReflectionPermission.html">System.Security.Permissions.ReflectionPermission</a> --- <a href="../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission</a></li>
324 </ul>
325 <ul class="none">
326 <li><a href="../System.Security.Permissions/types/SecurityPermission.html">System.Security.Permissions.SecurityPermission</a> --- <a href="../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission</a></li>
327 </ul>
328 <ul class="none">
329 <li><a href="../System.Security.Permissions/types/SiteIdentityPermission.html">System.Security.Permissions.SiteIdentityPermission</a></li>
330 </ul>
331 <ul class="none">
332 <li><a href="../System.Security.Permissions/types/StrongNameIdentityPermission.html">System.Security.Permissions.StrongNameIdentityPermission</a></li>
333 </ul>
334 <ul class="none">
335 <li><a href="../System.Security.Permissions/types/UIPermission.html">System.Security.Permissions.UIPermission</a> --- <a href="../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission</a></li>
336 </ul>
337 <ul class="none">
338 <li><a href="../System.Security.Permissions/types/UrlIdentityPermission.html">System.Security.Permissions.UrlIdentityPermission</a></li>
339 </ul>
340 <ul class="none">
341 <li><a href="../System.Security.Permissions/types/ZoneIdentityPermission.html">System.Security.Permissions.ZoneIdentityPermission</a></li>
342 </ul>
343 </ul>
344 <ul class="none">
345 <li><a href="../System.Security.Permissions/types/PrincipalPermission.html">System.Security.Permissions.PrincipalPermission</a> --- <a href="../System.Security/types/IPermission.html">System.Security.IPermission</a>, <a href="../System.Security/types/ISecurityEncodable.html">System.Security.ISecurityEncodable</a>, <a href="../System.Security.Permissions/types/IUnrestrictedPermission.html">System.Security.Permissions.IUnrestrictedPermission</a></li>
346 </ul>
347 <ul class="none">
348 <li><a href="../System.Security.Permissions/types/StrongNamePublicKeyBlob.html">System.Security.Permissions.StrongNamePublicKeyBlob</a></li>
349 </ul>
350 <ul class="none">
351 <li><a href="../System/types/ValueType.html">System.ValueType</a></li>
352 <ul class="none">
353 <li><a href="../System/types/Enum.html">System.Enum</a></li>
354 <ul class="none">
355 <li><a href="../System.Security.Permissions/types/EnvironmentPermissionAccess.html">System.Security.Permissions.EnvironmentPermissionAccess</a></li>
356 </ul>
357 <ul class="none">
358 <li><a href="../System.Security.Permissions/types/FileDialogPermissionAccess.html">System.Security.Permissions.FileDialogPermissionAccess</a></li>
359 </ul>
360 <ul class="none">
361 <li><a href="../System.Security.Permissions/types/FileIOPermissionAccess.html">System.Security.Permissions.FileIOPermissionAccess</a></li>
362 </ul>
363 <ul class="none">
364 <li><a href="../System.Security.Permissions/types/IsolatedStorageContainment.html">System.Security.Permissions.IsolatedStorageContainment</a></li>
365 </ul>
366 <ul class="none">
367 <li><a href="../System.Security.Permissions/types/PermissionState.html">System.Security.Permissions.PermissionState</a></li>
368 </ul>
369 <ul class="none">
370 <li><a href="../System.Security.Permissions/types/ReflectionPermissionFlag.html">System.Security.Permissions.ReflectionPermissionFlag</a></li>
371 </ul>
372 <ul class="none">
373 <li><a href="../System.Security.Permissions/types/SecurityAction.html">System.Security.Permissions.SecurityAction</a></li>
374 </ul>
375 <ul class="none">
376 <li><a href="../System.Security.Permissions/types/SecurityPermissionFlag.html">System.Security.Permissions.SecurityPermissionFlag</a></li>
377 </ul>
378 <ul class="none">
379 <li><a href="../System.Security.Permissions/types/UIPermissionClipboard.html">System.Security.Permissions.UIPermissionClipboard</a></li>
380 </ul>
381 <ul class="none">
382 <li><a href="../System.Security.Permissions/types/UIPermissionWindow.html">System.Security.Permissions.UIPermissionWindow</a></li>
383 </ul>
384 </ul>
385 </ul>
386 </ul><br><i><a href="../documentation_license.txt">
387 Copyright (c) 2002 Microsoft Corporation. All rights reserved.
388 </a></i></body>
389 </html>